package com.yl.model;

import com.yl.model.Goods;

/**
    * cart 实体类
    * Thu Nov 26 21:43:08 CST 2020 zhaoshangmin
    */ 


public class Cart{
	private int cart_id;
	private int user_id;
	private int goods_id;
	private int num;
	private Goods g;
	public Goods getG() {
		return g;
	}
	public void setG(Goods g) {
		this.g = g;
	}
	public void setCart_id(int cart_id){
	this.cart_id=cart_id;
	}
	public int getCart_id(){
		return cart_id;
	}
	public void setUser_id(int user_id){
	this.user_id=user_id;
	}
	public int getUser_id(){
		return user_id;
	}
	public void setGoods_id(int goods_id){
	this.goods_id=goods_id;
	}
	public int getGoods_id(){
		return goods_id;
	}
	public void setNum(int num){
	this.num=num;
	}
	public int getNum(){
		return num;
	}
}

